inline
EpollProactorToken::EpollProactorToken (EpollProactor *p,
	int s_queue/* = Token::FIFO*/)
: Token (s_queue)
, proactor_ (p)
{
}
inline
EpollProactorToken::~EpollProactorToken ()
{
}
inline
EpollProactor *EpollProactorToken::proactor (void)
{
    return this->proactor_;
}
inline
void EpollProactorToken::proactor (EpollProactor *p)
{
    this->proactor_ = p;
}
inline
void EpollProactorToken::sleep_hook ()
{
    this->proactor_->notify ();
}
// --------------------------------------------------------------------
inline
size_t EpollProactor::number_of_threads (void) const
{
    return 1;
}
inline
void EpollProactor::number_of_threads (size_t /*threads*/)
{
}
inline
void EpollProactor::owner (thread_t thr_id)
{
    this->owner_ = thr_id;
}
